package com.tinygone.order.controller;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
@Getter
@Setter
public class OrderForm {

    @NotEmpty(message = "姓名必填")
    private String name;

    @NotEmpty(message = "phone cant be empty")
    private String phone;

    @NotEmpty(message = "address cant be empty")
    private String address;

    @NotEmpty(message = "openid cant be empty")
    private String openid;

    @NotEmpty(message = "cart cant be empty")
    private String items;
}
